/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconArrowUp: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M531.84 145.856l2.784 2.496 277.024 277.024a32 32 0 0 1-42.464 47.744l-2.784-2.496L544 248.256V848a32 32 0 0 1-63.776 3.744L480 848V248.192l-222.4 222.432a32 32 0 0 1-42.464 2.496l-2.784-2.496a32 32 0 0 1-2.496-42.464l2.496-2.784 277.024-277.024a32 32 0 0 1 42.464-2.496z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconArrowUp.defaultProps = {
  size: 18,
};

export default IconArrowUp;
